package cn.edu.sjtu.se.dslab.DAO.achieve;

import cn.edu.sjtu.se.dslab.DAO.IBaseDAO;
import cn.edu.sjtu.se.dslab.DAO.IDesignPatternPropertyDAO;
import cn.edu.sjtu.se.dslab.component.design.DesignPattern;
import cn.edu.sjtu.se.dslab.component.design.DesignPatternProperty;
import cn.edu.sjtu.se.dslab.exception.DBException;

public class DesignPatternPropertyDAOAchieve implements
		IDesignPatternPropertyDAO {
	
	private IBaseDAO<DesignPatternProperty> baseDao;

	@Override
	public void save(DesignPatternProperty property) throws DBException{
		baseDao.save(property);
	}

//	@Override
//	public void delete(long id) {
//		baseDao.
//	}

	@Override
	public DesignPatternProperty update(DesignPatternProperty designPatternProperty) throws DBException{
		return null;
	}

	@Override
	public DesignPatternProperty query(long id) throws DBException{
		return null;
	}

}
